import static org.junit.Assert.*;

import java.io.File;

import org.junit.Test;

/**
 * 
 */

/**
 * @author DAT
 *
 */

public class LoggerTest {

	// gray box testing
	// use case
	@Test
	public void testCreateFile() {
		
		// constructing new Object, specifying an non-existent file
		Logger test_log = new Logger("test_log.xls");

		// test if such file exists on hard drive,
		// i.e. test if Logger class successfully created the file for use
		File f = new File("test_log.xls");
		assertTrue(f.exists());
	}

	
}
